//
//  AddressBookModel.m
//  Shengzhuli
//
//  Created by 卡忙科技 on 16/11/12.
//  Copyright © 2016年 kamangkeji. All rights reserved.
//

#import "AddressBookModel.h"

@implementation AddressBookModel

- (instancetype)initWithDict:(NSDictionary *)dict
{
    if (self = [super init]) {
        self.contactName = dict[@"contactName"];
        self.contactPhone = dict[@"contactPhone"];
        self.status = [dict[@"status"] integerValue];
    }
    return self;
}

+ (instancetype)objectWithDict:(NSDictionary *)dict
{
    return [[AddressBookModel alloc]initWithDict:dict];
}

@end
